package com.example.DTO;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class OrderItemDTO {
    private Integer id;
    private Integer buyerId;
    private String buyerName;
    private LocalDate createdAt;   // 对应 orders 表的 created_at
    private LocalDate updatedAt;

    private int productId;
    private String productName;
    private String description;
    private String imagePath;
    private double price;
    private int category ;

    private Integer quantity;
    private BigDecimal totalPrice;

    private Integer completion;
    private Integer confirmation;
    private Integer stockUp;
    private Integer sendOrder;
    private String displayStatus;
}
